function [ res ] = count_menores( V, index )
%COUNT_MENORES Summary of this function goes here
%   Detailed explanation goes here
    res = 0;
    for i=index+1:length(V)
        if V(index) > V(i)
            res = res + 1;
        end
    end    
end

